Xbasic

A5_TOOLBAR_DEF_LOAD Function

Syntax

as P = a5_toolbar_def_load(C toolbarname )

Arguments

P

A pointer to the loaded toolbar.

toolbarname

The name of a previously created toolbar.

Description

The A5_TOOLBAR_DEF_LOAD() function loads a previously created toolbar.

Discussion

Dialog body, init, event and title strings are returned

Example

dim vl as P
dim tbar as P
vl = local_variables()
tbar = a5_toolbar_def_load("Invoice")
a5_system_toolbar_show(vl,tbar)
? properties_enum(tbar)
= dlg_title
pre_toolbar_init
dlg_horizontal
dlg_vertical
dlg_float
event_code
? tbar.dlg_title
= "Form View"

Limitations

Desktop applications only.

See Also